/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TimeRecording.widgets;

import javax.swing.text.JTextComponent;

/**
 *
 * @author david
 */
public class DeferredTextComponentSelecter implements Runnable {

    JTextComponent textComponent;

    public DeferredTextComponentSelecter(JTextComponent textComponent) {
        this.textComponent = textComponent;
    }

    public void run() {
        textComponent.selectAll();
    }

}
